package com.taoyuanx.eum;

/**
 * @author 都市桃源
 *token 枚举
 */
public enum TokenResult{
	OK(0,"token合法"),TOKEN_FORMAT_ERR(1,"token格式不合法"),EXPIRE(2,"token过期"),VAFY_SIGN_ERR(3,"token验签失败"),
	NULL(4,"未携带token值"),NOT_MATCH(5,"token类型不匹配"),LIMIT_ERR(6,"token使用次数已达上限");
	public Integer code;
	public String msg;
	private TokenResult(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
}